package com.bigbirdmed.cloud.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Description:
 * @Author: Changdao
 * @Date: 2021/8/20 14:36
 */
@ToString
public class BaseDTO {

    @Data
    @ApiModel(value = "DeleteDTO", description = "删除参数")
    public static class DeleteDTO implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "id")
        private String ids;
    }

    @Data
    @ApiModel(value = "EditDTO", description = "id参数")
    public static class EditDTO implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "id")
        private Long id;
    }

    @Data
    @ApiModel(value = "PreviewFileDTO", description = "文件url")
    public static class PreviewFileDTO implements Serializable {
        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "path")
        private String path;
    }

}
